﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoccaStore.Services
{
    public interface IAccountService
    {
        Account Current { get; set; }

        Account GetByID(int id);
        Account GetByEmail(string email);
        Account GetByFacebookID(string facebookId);
        List<Account> GetAll();
        int Save(Account account);

        void Authorize(Account account);
        void Logout();
    }
}
